package com.yvdedu.hospital.service;

import java.util.List;
import java.util.Set;

import org.springframework.stereotype.Service;
import com.yvdedu.hospital.entity.Login;
import com.yvdedu.hospital.entity.Role;
import com.yvdedu.hospital.entity.User;

@Service
public interface LoginService {
	
	public List<Login> login( Login login );
	
	Login loginquery( Login login );
	
	public void loginadd( Login login );

	public List<User> userquery(int id);
	
	public List<Role> rolequery(int id);
	
	public Set<String> roleName(int id);
	
	public Set<String> url(int id);
	
}
